package com.yc.bran.snack.dto;

import java.util.List;

import com.yc.bran.snack.bean.Address;
import com.yc.bran.snack.bean.OrderInfo;
import com.yc.bran.snack.bean.OrderItemInfo;

public class OrderInfoDTO {  
	private OrderInfo orderInfo;  
	private List<OrderItemInfo> orderItems;  
	private Address address;
	private boolean isCancelled;

	public OrderInfoDTO(OrderInfo orderInfo, List<OrderItemInfo> orderItems) {
		super();
		this.orderInfo = orderInfo;
		this.orderItems = orderItems;
	}

	public OrderInfo getOrderInfo() {
		return orderInfo;
	}

	public void setOrderInfo(OrderInfo orderInfo) {
		this.orderInfo = orderInfo;
	}

	public List<OrderItemInfo> getOrderItems() {
		return orderItems;
	}

	public void setOrderItems(List<OrderItemInfo> orderItems) {
		this.orderItems = orderItems;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public Boolean getIsCancelled() {
		return isCancelled;
	}

	public void setIsCancelled(Boolean  isCancelled) {
		this.isCancelled = isCancelled;
	}
}